I have found that beforeSave() is being fired when attempting to delete() a document.
Isn't this a bug or a known issue?
I neglected to mention that my document has soft deleteable behaviour on it.
Does beforeSave() get executed on delete() with soft deleteable behaviour in Mvc\Models?
Soft delete performs update so it is correct
Technically. But semantically?
To branch blocks of validation code depending on the operation made I write within validation():
public funciton validation() { if($this->_operationMade != 2) { ... // Validation code } }